package com.wbsxch.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wbsxch.blog.entity.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> selectRoleListByUserId(@Param("userId") Integer userId);
}
